<?php

return array(
    // 功能列表
    'actions' => array(
        'role' => array(
            'add'    => '添加用户组',
            'edit'   => '编辑用户组',
            'del'    => '删除用户组',
            'list'   => '用户组管理', 
        ),
        'admin' => array(
            'add'     => '添加用户', 
            'edit'    => '编辑用户', 
            'del'     => '删除用户', 
            'list'    => '管理用户', 
        ),
        'account' => array(
            'login'          => '登录',
            'logout'         => '注销',
            'register'       => '注册',
            'resetPassword'  => '重置密码',
            'captcha'        => '验证码',
            'info'       => '用户信息(json)',
        ),
    ),
    /*
    // 添加到后台管理的菜单
    'admin_menu' => array(
	    'user/account/login' => array(2, '用户登录'),
	    'user/account/logout' => array(2, '用户注销'),
    ),
    */
	// 默认权限设置
    'acl' => array(
        'role' => array(
            'list'  => array(1, 0, 0),
            'del'   => array(1, 0, 0),
            'edit'  => array(1, 0, 0),
		    'add'   => array(1, 0, 0),
		),
		'account' => array(
		    'login'          => array(1, 1, 1),
            'logout'         => array(1, 1, 1),
            'register'       => array(1, 1, 1),
            'resetPassword'  => array(1, 1, 1),
            'captcha'        => array(1, 1, 1),
            'info'        => array(1, 1, 1),
        ),
        'admin' => array(
            'list'  => array(1, 0, 0),
		    'del'   => array(1, 0, 0),
		    'edit'  => array(1, 0, 0),
		    'add'   => array(1, 0, 0),
        ),
    ),
    'filter' => array(),    
);